package com.cos.demo4;

import com.cos.demo2.entity.User;

import java.util.List;

/**
 * @author: COS
 * @time: 2021/5/17 17:32
 * @description:
 */
public interface UserServices {

    void getUser();

    User getUserById(int id);

    List<User> getUserById(int id, String username);

    int addUser(User u);

    void updateUser(User u);

    int del(int id);

}
